package cn.tuning.entity;

/**
 * @author laisd
 * @date 2021-08-02 22:24
 */

public class UserInfo {
    private String uid;
    private String username;
    private String password;
    private String alias;
    private String phoneNumber;
    private int lastRoleStatus;
    private int balance;
    private int role;

    public UserInfo() {
    }

    public UserInfo(String uid, String username, String password, String alias, String phoneNumber, int lastRoleStatus, int balance, int role) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.alias = alias;
        this.phoneNumber = phoneNumber;
        this.lastRoleStatus = lastRoleStatus;
        this.balance = balance;
        this.role = role;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public int getLastRoleStatus() {
        return lastRoleStatus;
    }

    public void setLastRoleStatus(int lastRoleStatus) {
        this.lastRoleStatus = lastRoleStatus;
    }

    public int getBalance() {
        return balance;
    }

    public void setBalance(int balance) {
        this.balance = balance;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "uid='" + uid + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", alias='" + alias + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", lastRoleStatus=" + lastRoleStatus +
                ", balance=" + balance +
                ", role=" + role +
                '}';
    }
}
